app.controller('mypupCtrl', function($scope, $ionicPopup) {
    $scope.mypop = function() {
        var myPopup = $ionicPopup.show({
            templateUrl: 'templates/bitongbao/module/lanya.html',
            scope: $scope
        });
        $scope.myclose = function() {
            myPopup.close();
        }
    };
    $scope.popShare = function() {
        var popshare = $ionicPopup.show({
            templateUrl: 'templates/bitongbao/module/share.html',
            scope: $scope,
        });
        $scope.sharecloss = function() {
            popshare.close();
        }
    };
    $scope.popSex = function() {
        var popsex = $ionicPopup.show({
            templateUrl: 'templates/bitongbao/module/sex.html',
            scope: $scope,
        });
        $scope.sexcloss = function() {
            popsex.close();
        }
    };
    $scope.popSignin = function() {
        var popsignin = $ionicPopup.show({
            templateUrl: 'templates/bitongbao/module/signin.html',
            scope: $scope,
        });
        $scope.signincloss = function() {
            popsignin.close();
        }
    };
});